package com.shop.dao;

import com.shop.bean.User;

public interface UserDao {
	public User queryByName(String uname);
	public void addUser(User user);
	public User queryById(Integer uid);
	public int updateSeller(User user);
	public int editBuyer(User user);
	public int editPassword(User user);
	public int getUidByName(String uname);
	public int getTypeByUname(String uname);
	
}
